projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b89896
)
* lisp/net/eww.el (eww-tag-meta): Handle single quoted URLs (Bug#25445).
author
Ian Dunn
<dunni@gnu.org>
Mon, 16 Jan 2017 00:02:47 +0000
(19:02 -0500)
committer
Noam Postavsky
<npostavs@gmail.com>
Mon, 16 Jan 2017 04:24:38 +0000
(23:24 -0500)
Copyright-paperwork-exempt: yes
lisp/net/eww.el
patch
|
blob
|
history
diff --git
a/lisp/net/eww.el
b/lisp/net/eww.el
index fe9f40a58ab44a14759081f3a6b197184b13f511..29390eeebb318bc94a9e942027bcac1f8fea914e 100644
(file)
--- a/
lisp/net/eww.el
+++ b/
lisp/net/eww.el
@@
-477,6
+477,7
@@
Currently this means either text/html or application/xhtml+xml."
(< eww-redirect-level 5))
(when-let (refresh (dom-attr dom 'content))
(when (or (string-match "^\\([0-9]+\\) *;.*url=\"\\([^\"]+\\)\"" refresh)
+ (string-match "^\\([0-9]+\\) *;.*url='\\([^']+\\)'" refresh)
(string-match "^\\([0-9]+\\) *;.*url=\\([^ ]+\\)" refresh))
(let ((timeout (match-string 1 refresh))
(url (match-string 2 refresh))